package com.shenzhen.horselive.beans;

/**
 * 不同类型账户的余额
 */
public class UserAcountBean {

    /**
     * errCode : null
     * errMessage : null
     * data : {"accountType":0,"amount":100,"freezeAmount":0,"ratio":1.1,"value":110}
     * success : true
     */

    private String errCode;
    private String errMessage;
    private DataBean data;
    private boolean success;

    public String getErrCode() {
        return errCode;
    }

    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }

    public String getErrMessage() {
        return errMessage;
    }

    public void setErrMessage(String errMessage) {
        this.errMessage = errMessage;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class DataBean {
        /**
         * accountType : 0
         * amount : 100
         * freezeAmount : 0
         * ratio : 1.1
         * value : 110
         * oneRatio
         */

        private String accountType;
        private String amount;
        private String freezeAmount;
        private String ratio;
        private String value;
        private String oneRatio;

        public String getOneRatio() {
            return oneRatio;
        }

        public void setOneRatio(String oneRatio) {
            this.oneRatio = oneRatio;
        }

        public String getAccountType() {
            return accountType;
        }

        public void setAccountType(String accountType) {
            this.accountType = accountType;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public String getFreezeAmount() {
            return freezeAmount;
        }

        public void setFreezeAmount(String freezeAmount) {
            this.freezeAmount = freezeAmount;
        }

        public String getRatio() {
            return ratio;
        }

        public void setRatio(String ratio) {
            this.ratio = ratio;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }
}
